using System;
using System.Collections.Generic;
using System.Text;

namespace Outcoding.GraphGenerator.MSOffice.MSPowerPoint {
    sealed public class ConvertImage : System.Windows.Forms.AxHost {
        
        private ConvertImage() : base(null) {
        }

        public static stdole.IPictureDisp Convert(System.Drawing.Image image) {
            return (stdole.IPictureDisp)System.Windows.Forms.AxHost.GetIPictureDispFromPicture(image);
        }
    }
}
